package inter_home;

/**
 * @classname:QQTest
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/3 21:00
 * @version: 0.1
 * @since:1.8
 */
public class QQTest {
    public static void main(String[] args) {
        QQTest qq = new QQTest();
        Plug qqmusic = new Qmusic();

        qq.installPlug(qqmusic);
        qq.uninstallPlug(qqmusic);
    }

    public void installPlug(Plug plug) {
        plug.upload();

    }

    public void uninstallPlug(Plug plug) {
        plug.unload();
    }
}
